<%@ include file="/common/taglibs.jsp"%>

<head>
    <title><fmt:message key="staffAccountAssert.title"/></title>
    <meta name="heading" content="<fmt:message key='staffAccountAssert.heading'/>"/>
    <meta name="menu" content="YAReportMenu"/>
    <link type="text/css" href="<c:url value='/scripts/jquery-ui/css/smoothness/jquery-ui-1.8.12.custom.css'/>" rel="stylesheet" />	
	<script type="text/javascript" src="<c:url value='/scripts/jquery-ui/js/jquery-1.5.1.min.js'/>"></script>
	<script type="text/javascript" src="<c:url value='/scripts/jquery-ui/js/jquery-ui-1.8.12.custom.min.js'/>"></script>
	<script>
	$(function() {
		$( "#queryForm_start" ).datepicker();
		$( "#queryForm_end" ).datepicker();
		$( "#queryForm_valueDay" ).datepicker();
	});
</script>
</head>

<div id="query">
	<s:form id="queryForm" action="staffAccountAssertReport" method="get">
		<s:textfield key="valueDay" required="true" cssClass="text medium"/>
		<s:textfield key="start" required="true" cssClass="text medium"/>
		<s:textfield key="end" required="true" cssClass="text medium"/>
		<s:select key="type" list="typeList" listKey="description" listValue="description" cssClass="select"/>
		<li class="buttonBar bottom">
			<s:submit cssClass="button" theme="simple"/>
		</li>
	</s:form>
</div>
<display:table name="staffAccountAssertMap" defaultsort="1" defaultorder="ascending" requestURI="" class="table" id="staffAccountAssertMap" export="true" pagesize="25">
    <display:column property="staff.dept" group="1" sortable="true" titleKey="staff.dept"/>
    <display:column property="staff.staffId" media="csv excel xml pdf" titleKey="staff.staffId"/>
   	<display:column property="staff.name" sortable="true" titleKey="staff.name"/>
   	<display:column property="RMB" sortable="true" titleKey="staffAccountAssert.RMB"/>
   	<display:column property="HK" sortable="true" titleKey="staffAccountAssert.HK"/>
   	<display:column property="USA" sortable="true" titleKey="staffAccountAssert.USA"/>
   	<display:column property="mutilBank" sortable="true" titleKey="staffAccountAssert.mutilBank"/>
   	<display:column property="creditCash" sortable="true" titleKey="staffAccountAssert.creditCash"/>
   
   	<display:column property="ETF" sortable="true" titleKey="staffAccountAssert.ETF"/>
   	<display:column property="LOF" sortable="true" titleKey="staffAccountAssert.LOF"/>
   	<display:column property="warrant" sortable="true" titleKey="staffAccountAssert.warrant"/>
   	<display:column property="corporateBond" sortable="true" titleKey="staffAccountAssert.corporateBond"/>
   	<display:column property="corporateConvertiblBond" sortable="true" titleKey="staffAccountAssert.corporateConvertiblBond"/>
   	<display:column property="TSXV" sortable="true" titleKey="staffAccountAssert.TSXV"/>
   	<display:column property="marketFund" sortable="true" titleKey="staffAccountAssert.marketFund"/>
   	<display:column property="normalSubscribe" sortable="true" titleKey="staffAccountAssert.normalSubscribe"/>
   	<display:column property="subscribeReceivedPayments" sortable="true" titleKey="staffAccountAssert.subscribeReceivedPayments"/>
   	<display:column property="stock" sortable="true" titleKey="staffAccountAssert.stock"/>
   	<display:column property="bookingPublicDebts" sortable="true" titleKey="staffAccountAssert.bookingPublicDebts"/>
   	<display:column property="creditStock" sortable="true" titleKey="staffAccountAssert.creditStock"/>	
   	<display:column property="other" sortable="true" titleKey="staffAccountAssert.other"/>	
   	
   	<display:column property="fund" sortable="true" titleKey="staffAccountAssert.fund"/>	
   	<display:column property="sum" sortable="true" titleKey="staffAccountAssert.sum"/>
   	<display:column property="day" sortable="true" titleKey="staffAccountAssert.day"/>
   	
    <display:setProperty name="paging.banner.item_name"><fmt:message key="staffAccountAssertMap.staffAccountAssert"/></display:setProperty>
    <display:setProperty name="paging.banner.items_name"><fmt:message key="staffAccountAssertMap.staffAccountAssert"/></display:setProperty>

    <display:setProperty name="export.excel.filename"><fmt:message key="staffAccountAssertMap.title"/>.xls</display:setProperty>
    <display:setProperty name="export.csv.filename"><fmt:message key="staffAccountAssertMap.title"/>.csv</display:setProperty>
    <display:setProperty name="export.pdf.filename"><fmt:message key="staffAccountAssertMap.title"/>.pdf</display:setProperty>
</display:table>

<display:table name="accountList" requestURI="" class="table" id="accountList" export="true" pagesize="25">
    <display:column property="id" media="csv excel xml pdf" titleKey="account.id"/>
    <display:column property="account" sortable="true" titleKey="account.account"/>
    <display:column property="name" sortable="true" titleKey="account.name"/>
    <display:column property="staff.staffId" sortable="true" titleKey="staff.staffId"/>
    <display:column property="staff.name" sortable="true" titleKey="staff.name"/>
    <display:column property="openDay" sortable="true" titleKey="account.openDay"/>
	<display:column property="transfer" sortable="true" titleKey="account.transfer"/>
	<display:column property="stockShNumber" sortable="true" titleKey="account.stockShNumber"/>
	<display:column property="stockShOpenDay" sortable="true" titleKey="account.stockShOpenDay"/>
	<display:column property="stockShNumberB" sortable="true" titleKey="account.stockShNumberB"/>
	<display:column property="stockShOpenDayB" sortable="true" titleKey="account.stockShOpenDayB"/>
	<display:column property="stockSzNumber" sortable="true" titleKey="account.stockSzNumber"/>
	<display:column property="stockSzOpenDay" sortable="true" titleKey="account.stockSzOpenDay"/>
	<display:column property="stockSzNumberB" sortable="true" titleKey="account.stockSzNumberB"/>
	<display:column property="stockSzOpenDayB" sortable="true" titleKey="account.stockSzOpenDayB"/>
    <display:column property="subTime" sortable="true" titleKey="account.subTime"/>
    <display:column property="remark" sortable="true" titleKey="account.remark"/>
    <display:column property="lastModifyTime" sortable="true" titleKey="account.lastModifyTime"/>

    <display:setProperty name="paging.banner.item_name"><fmt:message key="accountList.accounts"/></display:setProperty>
    <display:setProperty name="paging.banner.items_name"><fmt:message key="accountList.accounts"/></display:setProperty>

    <display:setProperty name="export.excel.filename"><fmt:message key="accountList.title"/>.xls</display:setProperty>
    <display:setProperty name="export.csv.filename"><fmt:message key="accountList.title"/>.csv</display:setProperty>
    <display:setProperty name="export.pdf.filename"><fmt:message key="accountList.title"/>.pdf</display:setProperty>
</display:table>

<script type="text/javascript">
 highlightTableRows("staffAccountAssertMap");
 highlightTableRows("accountList");
</script>